<!DOCTYPE html>
<html style="font-size:50px;">
<!-- manifest="app5.4_1.appcache" -->
<head>
  <meta charset="utf-8">
  <title>安居通APP</title>
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
  <link rel="icon" href="ico.png">
  {% for (var css in o.htmlWebpackPlugin.files.css) { %}
  <link href="{%= './' + o.htmlWebpackPlugin.files.css[css] %}" rel="stylesheet">
  {% } %}

  <style>
    
    .nocopy{
      -moz-user-select:none;-webkit-user-select:none;
    }
    .container>*{
    	height:100%;overflow: auto;
    }
  </style>
</head>

<body class="zh nocopy" style="background:#fff!important;">


  <div id="app"></div>
  <script src="./js/jquery.min.js"></script>

  <script type="text/javascript">

    var oldHeight = $(window).height();
    (function(){
      //checkVersion();
      function changeRootFont(){
        var designWidth = 750, rem2px = 100;
        if(window.innerWidth >= 600){
        	document.documentElement.style.fontSize = '80px';

        	$('#app').css({
        		'width':'500px!important'
        	})

        }else{
         document.documentElement.style.fontSize = ((window.innerWidth / designWidth) * rem2px) + 'px';

        }

        var newHeight = $(window).height();
        if(oldHeight-newHeight<=100){
          var height = newHeight*0.90;
          $('.footBar').css('top',height)
        }
      }

      changeRootFont();
      window.addEventListener('resize', changeRootFont,false)
    })();
    //处理页面图片路径错误
    document.addEventListener("error", function(e){
      var elem = e.target;
      //alert(elem.src)
      if(elem.tagName.toLowerCase() === 'img'){
        elem.src = "imgs/noImg.png";
      }
    }, true);

   


  
  </script>
    {% for (var chunk in o.htmlWebpackPlugin.files.chunks) { %}
  <script src="{%= './' + o.htmlWebpackPlugin.files.chunks[chunk].entry %}"></script>
  {% } %}

</body>



</html>
